﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRequest.aspx.cs" Inherits="OtherContract.NewRequest" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>其他类合同评审</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(document).ready(function () {
            jQuery("");
            $("#fld_RELATEPRTSONSNAME").keydown(function (event) {
                return false;
            });
        })
        function checkpriceData() {
            //            if (($("#fld_TCONTRACTSPRICE").val() - 0) > 100000) {
            //                $("#fld_TCONTRACTSPRICE").focus();
            //                alert("合同金额不能大于十万");
            // }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="row">
            <ui:userinfo id="UserInfo1" processtitle="其他类合同评审" processprefix="OTC" tablename="PROC_OTHERCONTRACT"
                runat="server"   >
            </ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <%-- <tr>
                    <td class="td-label"  >
                        所属主体：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:DropDownList  runat="server" ID="fld_TBELONGMAIN" CssClass="validate[required]">
                        <asp:ListItem Value="">--请选择--</asp:ListItem>
                        <asp:ListItem Value="新疆金风科技股份有限公司">新疆金风科技股份有限公司</asp:ListItem>
                        <asp:ListItem Value="北京金风科创风电设备有限公司">北京金风科创风电设备有限公司</asp:ListItem>
                        <asp:ListItem Value="北京天源科创风电技术有限责任公司">北京天源科创风电技术有限责任公司</asp:ListItem>
                        <asp:ListItem value="软件公司">软件公司</asp:ListItem>
                        </asp:DropDownList>
                        </td>
                        <td colspan="2"></td>
                        <td class="td-label">
                        合同名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="txtDesitination" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td> 
                </tr>--%>
                <tr>
                    <td class="td-label">
                        合同名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TCONTRACTNAME" runat="server" CssClass=" validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        对方名称：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TSIDENAME" runat="server" CssClass="validate[required]"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同总金额：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:TextBox ID="fld_TCONTRACTSPRICE" runat="server" onblur="checkpriceData()" money="money"
                            class="validate[required]"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        合同编号：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                        <asp:Label runat="server" ID="fld_TCONTRACTNO"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同类型：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:DropDownList ID="fld_TCONTRACTTYPE" runat="server"  CssClass="validate[required]">
                          <asp:ListItem Value="">--请选择合同类型--</asp:ListItem>
                            <asp:ListItem Value="收入类">收入类</asp:ListItem>
                            <asp:ListItem Value="支出类">支出类</asp:ListItem>
                            <asp:ListItem Value="其他类">其他类</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <%--  <td class="td-label">
                        业务类型：<span class="red">*</span>
                    </td>
                    <td class="td-content">
                          <asp:DropDownList ID="fld_TCONTRACTTYPE" runat="server"  CssClass="validate[required]">
                          <asp:ListItem Value="">--请选择合同类型--</asp:ListItem>
                            <asp:ListItem Value="收入类">收入类</asp:ListItem>
                            <asp:ListItem Value="支出类">支出类</asp:ListItem>
                            <asp:ListItem Value="其他类">其他类</asp:ListItem>
                        </asp:DropDownList>
                    </td>--%>
                </tr>
                <tr>
                    <td class="td-label">
                        签约对方情况:
                    </td>
                    <td colspan="3">
                        <table class="  table-bordered" width="100%">
                            <tr>
                                <td width="15%" style="background-color: #f5f5f5;">
                                    法定代表人:<span class="red">*</span>
                                </td>
                                <td>
                                    <asp:TextBox runat="server" Width="80%" ID="fld_TLEGALPERSON" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <td width="15%" style="background-color: #f5f5f5;">
                                    注册资金:<span class="red">*</span>
                                </td>
                                <td>
                                    <asp:TextBox runat="server" money="money" Width="80%" ID="fld_TREGISTEREDCAPITAL" CssClass="validate[required]"></asp:TextBox>
                                </td>
                                <%--<td width="10%"   style="background-color: #f5f5f5;" >代理人:<span class="red">*</span></td>
                    <td >
                    <asp:TextBox runat="server" ID="fld_TAGENT" Width="80%"  CssClass="validate[required]"></asp:TextBox>
                    </td>
                    <td width="10%" style="background-color: #f5f5f5;" >代表权限:</td>
                    <td  >
                    <asp:TextBox runat="server" ID="fld_TBEHALFAUTHOR" Width="80%"     ></asp:TextBox>
                    </td>--%>
                            </tr>
                            <%--   <tr>
                    
                 <td  style="background-color: #f5f5f5;">资质:</td>
                   <td    >
                  <asp:TextBox runat="server" Width="80%" ID="fld_TINTELLIGENCE"></asp:TextBox>
                   </td>
                   <td  style="background-color: #f5f5f5;">信誉:</td>
                   <td  >
                   <asp:TextBox runat="server" Width="80%" ID="fld_TCREDIT"></asp:TextBox></td>
                    </tr> --%>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        合同主要内容:
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox runat="server" TextMode="MultiLine" Width="90%" ID="fld_TCONTRACTCONTENT"
                            Height="100px" CssClass="validate[required]"></asp:TextBox><span class="red">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        选择相关人员：
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_RELATEPRTSONSNAME" AutoCompleteType="Disabled" runat="server"
                            Width="80%"></asp:TextBox>
                        <asp:TextBox ID="fld_RelatePersons" runat="server" Style="display: none;"></asp:TextBox>
                        <%--<asp:Button ID="Button1" CssClass="btn" runat="server" Text="选择" OnClientClick="selectUser(2,'fld_RELATEPRTSONSNAME','fld_RelatePersons')" />--%>
                        <input id="btnChoose" type="button" class="btn" runat="server" value="选择" onclick="selectUser(2,'fld_RELATEPRTSONSNAME','fld_RelatePersons')" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" runat="server" required="true">
            </attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" showaction="false" runat="server">
            </ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server">
    </btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
